<%@ include file="/WEB-INF/includes/taglibs.jsp"%>
<%
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Expires", -1);
    response.setHeader("Cache-Control", "no-store"); //HTTP 1.1
%>
<html lang="es">
	<head>
		<title>Gestor de ePubs - <decorator:title/></title>
		<decorator:head/>
	</head>
	<body>
		<c:if test="${not empty logged}">
			<div class="headerBar">
			<c:choose>
				<c:when test="${logged}">
					Hello, ${user.googleUser}. Click <a href="${logoutURL}">here</a> to log out.
				</c:when>
				<c:otherwise>
					Please, click <a href="${loginURL}">here</a> to sign in.
				</c:otherwise>
			</c:choose>
			</div>
			<hr style="clear: both; width: 100%;"/>
		</c:if>
		<decorator:body/>
	</body>
</html>